package com.ftg.learn.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ftg.learn.common.result.PageResult;
import com.ftg.learn.common.result.Result;
import com.ftg.learn.order.dto.OrderDto;
import com.ftg.learn.order.dto.PageQueryDto;
import com.ftg.learn.order.dto.payDto;
import com.ftg.learn.order.entity.Order;

public interface OrderService extends IService<Order> {
    Result<PageResult> pageQuery(PageQueryDto queryDto);

    Result<String> addOrder(String orderId);

    Result<String> createOrder(OrderDto orderDto);

    Result<String> payOrder(payDto payDto);

    Result<String> deledeById(String orderId);
}
